import {$get, $post} from '../utils/request';
import {$msg_s, $msg_e} from '../utils/msg';

//获取结账状态列表-查询
export const list = async () => {
  let res = await $get('ResideState/List');

  /* res = [
    {
      roomStateId: '1',
      roomStateName: '空闲',
    },
    {
      roomStateId: '2',
      roomStateName: '维修',
    },
    {
      roomStateId: '3',
      roomStateName: '预订',
    },
  ]; */

  return res;
}